using System;

namespace WiMo.Games.AudioManager.WP7S.XNA
{
    public class AudioManager : IAudioManager
    {
        public IGameEngine Engine { get; private set; }

        public AudioManager(IGameEngine engine)
        {
            Engine = engine;
        }

        private AudioManager() { }

        public WiMo.Games.Audio.IGameAudio LoadSong(string name)
        {
            throw new NotImplementedException();
        }

        public WiMo.Games.Audio.IGameAudio LoadSound(string name)
        {
            var sound = new GameAudio();
            sound.Load(Engine.ContentManager, name);
            return sound;
        }

    }
}
